package server.business.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import server.business.pojo.BloodOutbound;
import server.business.vo.ResultExpand;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

/**
* @author Galaxy
* @description 针对表【blood_outbound】的数据库操作Service
* @createDate 2022-08-03 13:36:56
*/
public interface BloodOutboundService extends IService<BloodOutbound> {
    IPage<BloodOutbound> selectByPage(int currentPage, int limit);
    
    ResultExpand searchBloodOutBound(HttpServletRequest request, HttpServletResponse response);
    
    void downloadExcel(HttpServletRequest request, HttpServletResponse response);

    /**
     * fzx
     * @param startTime
     * @param endTime
     * @return
     */
    List<Map<String, Object>> getBloodOutReportList(Timestamp startTime, Timestamp endTime);

}
